package com.hmall.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;

@Data
@Table(name = "mall_order_fufillment_parent")
public class MallOrderFufillmentParent {
    @Id
    @Column(name = "mall_order_fufillment_parent_id")
    private Integer mallOrderFufillmentParentId;

    @Column(name = "fufillment_no")
    private String fufillmentNo;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "update_time")
    private Date updateTime;

    @Column(name = "order_no")
    private Long orderNo;

    /**
     * 用户备注
     */
    private String remark;

    /**
     * 是否收货
     */
    @Column(name = "is_received")
    private Integer isReceived;

    /**
     * 收货地址
     */
    private String address;

    /**
     * 回款时间
     */
    @Column(name = "pay_time")
    private Date payTime;

    /**
     * 0：未还清 1：已还清
     */
    private Integer status;

    /**
     * 剩余未支付
     */
    private BigDecimal unpayment;


}